// #include "vld.h"

#include "core/QQApplication.h"

int main(int argc, char* argv[])
{
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
	QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
	QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
	QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#else
	qputenv("QT_SCALE_FACTOR", "1.5");
#endif
#endif
	qputenv("AVCALL_PREFERRED_ENGINE", "agora");
	QQApplication app(argc, argv);
	return app.exec();
}